<template>
  <div>
    <el-card>
      <template #header>
        <h2 class="title"><slot name="title"></slot></h2>
      </template>
      <template>
        <slot name="content"></slot>
      </template>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      flag: true
    }
  },
  methods: {}
}
</script>

<style></style>
<style lang="less" scoped>
.title {
  font-weight: 700;
  font-size: 20px;
}
.v-enter,
.v-leave-to {
  opacity: 0;
  transform: translateX(150px);
}
</style>
